package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

@Data
public class User {
    private Long id;
    private String name;

    //select = false ，不进行查询
    @TableField(value = "password",select = false)
    private String psw;
    private Integer age;
    private String tel;

    //exist = false 这个字段数据库不存在
    @TableField(exist = false)
    private String statusd;


    private Integer deleted;

    @Version
    private Integer version;
}
